﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FEF RID: 4079
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournDeleteArchiveCsReq : IMessage<RogueTournDeleteArchiveCsReq>, IMessage, IEquatable<RogueTournDeleteArchiveCsReq>, IDeepCloneable<RogueTournDeleteArchiveCsReq>, IBufferMessage
	{
		// Token: 0x1700339F RID: 13215
		// (get) Token: 0x0600B67D RID: 46717 RVA: 0x001ECDF4 File Offset: 0x001EAFF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournDeleteArchiveCsReq> Parser
		{
			get
			{
				return RogueTournDeleteArchiveCsReq._parser;
			}
		}

		// Token: 0x170033A0 RID: 13216
		// (get) Token: 0x0600B67E RID: 46718 RVA: 0x001ECDFB File Offset: 0x001EAFFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournDeleteArchiveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033A1 RID: 13217
		// (get) Token: 0x0600B67F RID: 46719 RVA: 0x001ECE0D File Offset: 0x001EB00D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournDeleteArchiveCsReq.Descriptor;
			}
		}

		// Token: 0x0600B680 RID: 46720 RVA: 0x001ECE14 File Offset: 0x001EB014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournDeleteArchiveCsReq()
		{
		}

		// Token: 0x0600B681 RID: 46721 RVA: 0x001ECE1C File Offset: 0x001EB01C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournDeleteArchiveCsReq(RogueTournDeleteArchiveCsReq other) : this()
		{
			this.maxTimes_ = other.maxTimes_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B682 RID: 46722 RVA: 0x001ECE41 File Offset: 0x001EB041
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournDeleteArchiveCsReq Clone()
		{
			return new RogueTournDeleteArchiveCsReq(this);
		}

		// Token: 0x170033A2 RID: 13218
		// (get) Token: 0x0600B683 RID: 46723 RVA: 0x001ECE49 File Offset: 0x001EB049
		// (set) Token: 0x0600B684 RID: 46724 RVA: 0x001ECE51 File Offset: 0x001EB051
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxTimes
		{
			get
			{
				return this.maxTimes_;
			}
			set
			{
				this.maxTimes_ = value;
			}
		}

		// Token: 0x0600B685 RID: 46725 RVA: 0x001ECE5A File Offset: 0x001EB05A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournDeleteArchiveCsReq);
		}

		// Token: 0x0600B686 RID: 46726 RVA: 0x001ECE68 File Offset: 0x001EB068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournDeleteArchiveCsReq other)
		{
			return other != null && (other == this || (this.MaxTimes == other.MaxTimes && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B687 RID: 46727 RVA: 0x001ECE98 File Offset: 0x001EB098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MaxTimes != 0U)
			{
				num ^= this.MaxTimes.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B688 RID: 46728 RVA: 0x001ECED7 File Offset: 0x001EB0D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B689 RID: 46729 RVA: 0x001ECEDF File Offset: 0x001EB0DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B68A RID: 46730 RVA: 0x001ECEE8 File Offset: 0x001EB0E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MaxTimes != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B68B RID: 46731 RVA: 0x001ECF1C File Offset: 0x001EB11C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MaxTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B68C RID: 46732 RVA: 0x001ECF5A File Offset: 0x001EB15A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournDeleteArchiveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MaxTimes != 0U)
			{
				this.MaxTimes = other.MaxTimes;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B68D RID: 46733 RVA: 0x001ECF8B File Offset: 0x001EB18B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B68E RID: 46734 RVA: 0x001ECF94 File Offset: 0x001EB194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MaxTimes = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040049C6 RID: 18886
		private static readonly MessageParser<RogueTournDeleteArchiveCsReq> _parser = new MessageParser<RogueTournDeleteArchiveCsReq>(() => new RogueTournDeleteArchiveCsReq());

		// Token: 0x040049C7 RID: 18887
		private UnknownFieldSet _unknownFields;

		// Token: 0x040049C8 RID: 18888
		public const int MaxTimesFieldNumber = 13;

		// Token: 0x040049C9 RID: 18889
		private uint maxTimes_;
	}
}
